<ion-header>
	<header>
		<div class="header_title">
			 经销商管理
		</div>
	</header>
</ion-header>

<ion-content>
  <ion-list>
  	<div class="contact_content">
  		<!--这里数据从后端获取暂时没有接口-->
  		 <p class="content_headerPro">产品:

  		 		<select name="" >
					<option value="0">请选择您的产品</option>
  		 			<option value="1" *ngFor="let item of items">{{item.productName}}</option>
  		 		</select>
  		 </p>
  	</div>
  </ion-list>
  <!--*ngFor获取数据处-->
  <!--收货渠道-->
	<div padding>
	  <ion-segment [(ngModel)]="pet">
		<ion-segment-button value="收货渠道" class="segment-activated" aria-pressed="true" >
		  收货渠道
		</ion-segment-button>
		<ion-segment-button value="发货渠道" id="borderleft_none">
		  发货渠道
		</ion-segment-button>
	  </ion-segment>
  </div>


	<div [ngSwitch]="pet">
	  <ion-list *ngSwitchCase="'发货渠道'">
			<div class="list_content">
					<div class="list_deliver" >
						<p>{{dealerInfo.companyName}}</p>
						<p>联系人: <span>{{dealerInfo.name}}</span><span id="tel">		电话: <span>{{dealerInfo.mobile}}</span>		</span>？？</p>
					</div>
			</div>
	  </ion-list>

	  <ion-list *ngSwitchCase="'收货渠道'">
		   <div class="list_content" >
					<div class="list_deliver">
						<p>{{dealerInfo.companyName}}</p>
						<p>联系人: <span>{{dealerInfo.name}}</span><span id="tel">		电话: <span>{{dealerInfo.mobile}}</span>		</span></p>
					</div>
		   </div>
	  </ion-list>
	</div>
 	<!--//底部btn-->
 	<div class="addCountBtn">
			<p><button (click)="addTrench()"> +添加发货渠道</button></p>
			
	</div>
</ion-content>
